<%-- 
    Document   : index
    Created on : 08/12/2013, 11:46:08
    Author     : Administrador
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.*"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="_res/estilo/estilo.css" rel="stylesheet" type="text/css">
        <title>ADOCAO</title>
    </head>
    <body>
        
        <div id="principal">
            <div id="header">
                <%@include file="_templates/header.jsp" %>
            </div>
            <div id="menu">
                <%@include file="_templates/menu.jsp"%>
            </div>
            <div id="conteudo">
                <%if(request.getParameter("pag")!=null){
                    if(request.getParameter("pag").equals("pesq")){%>
                        <%@include file="_pages/pesquisar.jsp" %>
                    <%}else if(request.getParameter("pag").equals("faleconosco")){%>
                        <%@include file="_pages/emailEnviar.jsp" %>
                    <%}else if(request.getParameter("pag").equals("adotar")){%>
                        <%@include file="_pages/adotar.jsp" %>
                <%}else if(request.getParameter("pag").equals("somos")){%>
                    <%@include file="_pages/somos.jsp" %>
                <%}else if(request.getParameter("pag").equals("cad")){%>
                    <%@include file="_pages/cadastrar.jsp" %>
                <%}else if(request.getParameter("pag").equals("home")){%>
                    <%@include file="_pages/noticias.jsp" %>
                <%}
                }%>
                
            </div>
            <div>
             <%@include file="_templates/footer.jsp"%>
            </div>
        </div>                    
    </body>
</html>
